func runtime.roundupsize
9 uses
runtime (current package)
map.go#L370: up := roundupsize(sz, !t.Bucket.Pointers())
msize.go#L14: func roundupsize(size uintptr, noscan bool) (reqSize uintptr) {
slice.go#L213: capmem = roundupsize(uintptr(newcap), noscan)
slice.go#L219: capmem = roundupsize(uintptr(newcap)*goarch.PtrSize, noscan)
slice.go#L232: capmem = roundupsize(uintptr(newcap)<<shift, noscan)
slice.go#L240: capmem = roundupsize(capmem, noscan)
slice.go#L399: cap := roundupsize(uintptr(len), true)
string.go#L283: cap := roundupsize(uintptr(size), true)
string.go#L298: mem := roundupsize(uintptr(size)*4, true)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |